home *** CD-ROM | disk | FTP | other *** search
/ Chip 1996 November / Chip 11-96.iso / treiber / drucker / lexmark / optrae / windows / optraewi.exe / LINVXD.ZIP / VXD.LIN
INI File  |  1995-11-01  |  3KB  |  126 lines

  1. [Variables]
  2. ;
  3. ; >>>
  4. ; >>> BEGINNING OF NLS -- Start translating here.
  5.  
  6. ; >>>
  7. ; >>> Do not translate the variable name on the left, only translate the
  8. ; >>> quoted string.
  9. ; >>>
  10. ;
  11. $APPNAME = "Lexmark BiDi Windows Virtual Device Driver"
  12. $FINALMSG = "Congratulations!  The Windows virtual device driver that implements bi-directional communication with your printer has been successfully installed."
  13.  
  14. $Str_CompName_ThirdParty = "Windows Support Files"
  15.  
  16. $Str_Disk_Setup = "Windows Setup Diskette"
  17. $Str_Disk_Driver = "Windows Setup Diskette"
  18.  
  19. ; >>>
  20. ; >>> END OF NLS -- Stop translating here
  21. ; >>>
  22.  
  23. ;
  24. ; System variables...
  25. ;
  26. $Str_CompName_VXD = $APPNAME
  27. $READMEFILE = ""
  28. $INSTALLMETHODS = "E"
  29. $INSTALLMODE = "E"
  30. $INSTALLMACRO = "VXD_Install"
  31. $SIZECOMPONENT = "VXD"
  32.  
  33.  
  34. ;
  35. ; String constants
  36. ;
  37. $Str_Driver = "lex01.386"
  38.  
  39.  
  40. ;
  41. ; Temporary strings
  42. ;
  43. $TempString = ""
  44.  
  45.  
  46.  
  47. [Disks]
  48.  
  49. VXDDisk = $Str_Disk_Driver, setupdsk.bmp, 255, 0, 0
  50.  
  51.  
  52.  
  53. [Banners]
  54.  
  55. RegCardBanner = regcard.bmp
  56.  
  57.  
  58.  
  59. [Components]
  60.  
  61. ; Normal installation components
  62. ThirdParty = $Str_CompName_ThirdParty, , $SYSTEMDIR, VXDDisk, 120,
  63.                     (dllbwcc.zip, =ctl3d.dll)
  64.  
  65. VXD = $Str_CompName_VXD, RegCardBanner, $SYSTEMDIR, VXDDisk, 420,
  66.         (dllvxd.zip, ThirdParty)
  67.  
  68.  
  69. ; Server components
  70. ThirdParty_Server = "", , $SERVERAPPDIR, VXDDisk, 40,
  71.                             (dllbwcc.zip, =ctl3d.dll)
  72.  
  73. VXD_Server = "", , $SERVERAPPDIR, VXDDisk, 230,
  74.         (dllvxd.zip, =vxd.lin, =regcard.bmp, ThirdParty_Server)
  75.  
  76.  
  77.  
  78.  
  79. [Macros]
  80.  
  81. ; SetupVXD:        Performs any special configuration of the VXD once the files
  82. ;                    are copied to their destination.
  83. ;
  84. SetupVXD()
  85.     (
  86.     ; Update the system.ini file to load this driver
  87.     AddINI($SYSTEMINI, "386Enh", "device", $Str_Driver, $Str_Driver)
  88.  
  89.     ; Add vpd.386 to system.ini
  90.       AddINI($SystemINI, "386Enh", "device", "vpd.386", "vpd.386")
  91.  
  92.     ; This driver will not take effect until Windows is restarted
  93.     SetRebootFlag()
  94.     )
  95.  
  96.  
  97.  
  98. ; InstallVXD:    Install the bidi Windows VXD.
  99. ;                    No return value.
  100. ;
  101. InstallVXD()
  102.     (
  103.     ; Install the files
  104.     InstallComponent(VXD, $TRUESYSTEMDIR, "N")
  105.  
  106.    ; Do we want to 'setup' the VXDs?  Not when we're in Win-OS/2, Win32,
  107.    ;    Server-installation mode, or w/ -n 'setup' switch ($DOVXDSETUP).
  108.     SetVariable($InstallVXD, $YES)
  109.  
  110.    IfEqual($INWINOS2, $YES, SetVariable($InstallVXD, $NO))
  111.    IfEqual($INWIN95P, $YES, SetVariable($InstallVXD, $NO))
  112.    IfEqual($INSTALLMODE, "S", SetVariable($InstallVXD, $NO))
  113.    IfEqual($DOVXDSETUP, $NO, SetVariable($InstallVXD, $NO))
  114.  
  115.     IfEqual($InstallVXD, $YES, CallMacro(SetupVXD, , ))
  116.     )
  117.  
  118.  
  119.  
  120. ; VXD_Install:    Entry point for when the script is run independently.
  121. ;
  122. VXD_Install($cmdline)
  123.     (
  124.     CallMacro(InstallVXD, , )
  125.     )
  126.